package com.ly.user_system.dto;

import com.ly.user_system.base.BaseDto;
import com.ly.user_system.entity.BaseSysRoleMenu;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;


@Data
@AutoMapper(target = BaseSysRoleMenu.class)
public class BaseSysRoleMenuDTO extends BaseDto {
    private Long menuId;
    private Long roleId;

    public BaseSysRoleMenuDTO(Long menuId, Long roleId) {
        this.menuId = menuId;
        this.roleId = roleId;
    }
}